package com.tao.util;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.tao.domain.Group;

public class GroupEntityUtil {

	
	//��ȡ��ǰ���촫�ݱ�ʶ���ں����
	public Map<String, List<String>> getContactUserNames(List<Group> list){
	
		
		 Map<String, List<String>> map = new HashMap<String, List<String>>();
			/* List<String> NickNames = new ArrayList<String>();
		 List<String> UserNames = new ArrayList<String>();
	 for(int i = 0;i<list.size();i++){
		 NickNames.add(list.get(i).getNickName());
	  }	
	 map.put("NickNames",NickNames);
	 for(int i = 0;i<list.size();i++){
		 UserNames.add(list.get(i).getNickName());
	  }	
	 map.put("UserNames",UserNames);
	 */
	 return map;
	}
	
 /**********************************************************************/
	 //��ȡ���ں�������б�
	public Map<String, String> getMemberUserNames(List<Group> list){
		
	//List<Users> list =responses.getMemberList();
	Map<String, String> map = new HashMap<String, String>();
	/*  
	 for(int i = 0;i<list.size();i++){
		 map.put(list.get(i).getNickName(),list.get(i).getUserName());
	 
    }
    */
	return map;
	}
  
/**********************************************************************/	
}
	
	

